<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <script src="https://unpkg.com/vue@next"></script>
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>练习</title>
</head>
<body>
  <div id="app">
    <!-- 绑定id -->
    <!-- <div :id='id'>{{name}}</div> -->
    <!-- 显示隐藏 -->
    <!-- <div v-show='true'>{{name}}</div> -->
    <!-- 只显示一次 -->
    <!-- <div v-once>{{name}}</div> -->
    <!-- 属性绑定 -->
    <a :[arg]='id'>{{name}}</a>
  </div>
  <script src="index.js"></script>
</body>
</html>